package review.cider;

public class SwitchTest {
    public static void main(String[] args) {
        SwitchTest(1);System.out.print(",");
        SwitchTest(3);System.out.print(",");
        SwitchTest(4);System.out.print(",");
        SwitchTest(5);System.out.print(",");
    }

    public static void SwitchTest(int value){
        switch (value){
            case 1:
                System.out.print("a");
            case 2:
                System.out.print("b");
                break;
            case 3:
                System.out.print("c");
                return;
            case 4:
                System.out.print("d");
            default:
                System.out.print("*");
                break;
        }
    }
}
